package com.lx.dao;

import com.lx.model.PrintTablePlan;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface PrintTablePlanMapper {
    int deleteByPrimaryKey(Long id);

    int insert(PrintTablePlan record);

    int insertSelective(PrintTablePlan record);

    PrintTablePlan selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(PrintTablePlan record);

    int updateByPrimaryKey(PrintTablePlan record);

    PrintTablePlan selectByTableId(Long id);

    PrintTablePlan selectByTableNo(@Param("shopId") Long shopId,@Param("tableNo")  String tableNo);
}